package com.rtf.framework.monitor;

import io.prometheus.client.CollectorRegistry;

/**
 * 指标导出工具
 * @Author : liupeng
 * @Date : 2010-01-29
 * @Modified By
 */
public interface AppMonitorExporter {

    /**
     * 获取指标名称
     * @return
     */
    String getName() ;

    /**
     * 指标导出
     * @param collectorRegistry
     */
    void export(CollectorRegistry collectorRegistry) ;

}
